A Chris Cohen goal with just two minutes remaining proved the difference between the teams at Griffin Park as Yeovil Town beat Brentford by two goals to one.
Jo Kuffour's sixth goal of the season had brought The Bees level with ten to play after Terry Skiverton's opener, but Cohen sealed the win.
He picked up a nice lay-off from Marcus Stewart after a quick throw and curled the ball with his left foot past the outstretched hand of Stuart Nelson and into the far corner.
It was slightly harsh on Brentford who had fallen behind to Yeovil's first attack in the second half and then deservedly equalised.
But the visitors could have almost put the game beyond The Bees within the first ten minutes, Stewart volleyed narrowly over and Nelson then saved superbly from the same player as he ran through.
By the time Mark Lynch fizzed a shot inches over the top in the seventh minutes Yeovil were wondering how they weren't ahead, they were moving the ball beautifully and creating space at will.
But Brentford soon found a foothold in the game and started creating openings of their own.
Clyde Wijnhard headed wide at full stretch after a great move involving Thomas Pinault, Kuffour and Sam Tillen and Kevin O'Connor forced Yeovil goalkeeper Steve Mildenhall into a low save.
Pinault could have given The Bees the lead halfway through the first period but his lofted effort, after a Wijnhard lay-off, was cleared off the line by Terrell Forbes and Mildenhall saved superbly from a Calum Willock header.
The Bees were now well on top and O'Connor had a free kick flick Wijnhard on it's way wide and Wijnhard had a header saved.
But despite Brentford's good spell Yeovil could still have gone in ahead when Nelson saved well from Cohen and Arron Davies lashed the re-bound against the bar.
After an entertaining first half the second started slowly, Wijnhard headed wide early on and Paul Terry sliced an effort but Yeovil opened the game up with a 57th minute goal.
Cohen was the architect; his corner was curled perfectly onto the head of Skiverton who powered it past Nelson and into the bottom corner.
Brentford could have hit back immediately when Paul Brooker's mazy run set up an opening for Kuffour, who pulled his shot wide and Kuffour almost repaid the favour but Skiverton cleared off Brooker's foot as he prepared to shoot.
Brentford were throwing men forward leaving Yeovil to attempt to exploit the space, Griffiths made a superb late tackle to deny Kevin Cooper and Cohen shot into the side netting.
Gavin Tomlin and Alex Rhodes were thrown on for Wijnhard and Tillen as The Bees tried to force their way through and with ten minutes to play they managed to prise the defence open.
Tomlin found space twenty yards out and let fly, his shot was half blocked and ricocheted to Kuffour who scored with ease.
And Brentford should have reversed the scoreline with five minutes to play when Willock met a Rhodes cross but he nodded wide and Cohen made him pay in superb style minutes later.
Wayne Gray could have given the scoreline an unfair gloss when he headed over when unmarked but it proved not to matter and Yeovil took the points back to the West Country.
Brentford: Nelson; O'Connor, Heywood, Griffiths, Tillen (sub Rhodes 76 mins); Brooker, Mousinho, Pinault, Kuffour (sub Peters 81 mins); Wijnhard (sub Tomlin 59 mins), Willock
Subs (not used): Masters, Osborne
Bookings: Mousinho (43 mins) (third of season)
Yeovil Town: Mildenhall; Lynch, Skiverton, Forbes, Jones; Terry; Davies (sub Gray 63 mins), Kalala, Cohen, Cooper (sub Welsh 72 mins); Stewart
Subs (not used): Tonkin, Guyett, Barry
Bookings: Cooper (63 mins)
Written by Chris Wickham