The Bees bounced back following two defeats on the road when they beat near neighbours Wycombe Wanderers 1-0 at Griffin Park.
The Bees started the better and after two minutes Leo Roget headed over from eight yards from a Michael Dobson corner and a minute later another Dobson corner was cleared to the edge of the box and Jamie Fullarton saw his right-foot effort go over the bar.
After 15 minutes the visitors almost broke the deadlock a Michael Simpson corner from the right was met by the unmarked Andy Thomson ten yards out and his header hit the right-hand post and rebounded to safety.
The visitors were taking the game to the home side and after 24 minutes a great block by Ijah Anderson from Simpson prevented a scoring chance.
On the half hour a Steve Brown corner from the left was headed over by Paul McCarthy. Brown was booked for a foul on Stephen Hunt on 37 minutes and Bees defender Roget was booked a minute later for a foul on Roger Johnson.
On the stroke of half time Dannie Bulman saw his 25-yard strike saved by Smith and from the corner Craig Faulconbridge headed wide at the far post.
Two minutes after the break Brown for Wycombe saw his left footed 25-yard strike flash just wide on the left post.
The all important Brentford winner came after 57 minutes when Rowan Vine was adjudged by referee Dunn to have been pulled down in the box by defender McCarthy and Hunt stepped up to smash the resulting spot-kick high in the net.
Wycombe boss Lawrie Sanchez made a triple substitution 18 minutes from time but they could not crack Brentford's defence and the home side secured all three points to record their first league victory in five outings