Rosler was particularly pleased that his players refused to panic while trying to hold on to their slender advantage.
"In the last 10 minutes, with five minutes of injury time, we never looked like we panicked," Sky Sports News quotes Rosler as saying. "We tried to press them high up - that was the plan.
"We tried to keep them away from our goal and it was magnificent. The players dug in big time. We kept very good possession in the last five minutes."
Brentford are currently just outside the playoff places in eighth in League One.