A dreadful goalkeeping error from Northampton Town's Lee Harper presented Chris Moore with a debut goal and Brentford with a 1-0 win at Sixfields.
With 19 minutes remaining Harper came flying out of his goal to try and meet a Darius Charles cross but got in a muddle on the edge of his box and was robbed by Moore who rolled it into an unguarded net.
That piece of opportunism proved the difference between the sides but The Bees were still indebted to Stuart Nelson for earning them the win.
Nelson, who returned to the Bees line-up after suspension produced a number of great saves to preserve the lead.
He saved at full stretch from Sam Aiston after a great move had opened up the visitors' defence and produced equally good saves from Scott McGleish and Bradley Johnson in the later stages of the game to help The Bees to their second win and clean sheet of the season.
The first half was a mixed affair with Brentford playing much of the better football but forced on the back foot late in the piece.
Moore could have marked his debut with a goal inside two minutes but his overhead effort landed inches wide and he almost set up a goal for Gavin Tomlin with a low, fizzing cross, but Tomlin diverted it wide.
The home side had already had a goal ruled out for offside and Andy Holt fired a shot wide before the last ten minutes of the half where they laid siege to The Bees' goal.
Pedj Bojic came within a whisker of heading past Nelson and the Bees' keeper turned away a thundering shot from Sam Aiston.
But the visitors could have gone in ahead through Jo Kuffour, who was proving lively up front; it took a good tackle by Luke Chambers to prevent him striding through on goal.
He had another chance moments later when he muscled between Chambers and Chris Doig after a long Nelson kick and attempted to lob Lee Harper but the home keeper gathered at full stretch.
After the break the game was more even and Brentford could have been ahead even before Moore's winner, Pinault fired a shot wide from 20 yards and Harper, as a pre-cursor to his huge error that was to follow, almost let a speculative effort from Charles drift over him.
But Moore had the best chance of them all, he out muscled Chambers and was left one-on-one with Harper but pulled his shot wide.
That proved not to matter as the former Dagenham man scored the winner moments later.
Northampton Town: Harper; Crowe, Chambers, Doig, Holt; Bojic (sub Johnson 84 mins), Taylor (sub Quinn 75 mins), Burnell, Aiston; McGleish, Kirk
Subs (not used): Bunn, Jess, Dyche
Bookings: Aiston (24 mins), Doig (68 mins)
Brentford: Nelson; O'Connor, Heywood, Frampton, Charles; Tomlin, Skulason, Pinault (sub Griffiths 75 mins), Tillen; Moore (sub Rhodes 79 mins), Kuffour (sub Ide 89 mins)
Subs (not used): Masters, Brooker
Bookings: Charles (63 mins) (second of season)
Attendance: 5,707 (699 Bees fans)
Written by Chris Wickham