Brentford were beaten for the first time in a month as they lost to Sheffield Wednesday at Hillsborough.
Midfield player Kieran Lee scored the only goal of the game inside the final 15 minutes to give the hosts the points.
Brentford played well enough to get at least a share of the spoils but chances came and went and Wednesday took theirs.
The defeat leaves The Bees seventh in the Sky Bet Championship table with three games to go, three points behind sixth-placed Ipswich Town.
The hosts started the match with three attacking midfield players behind lone striker Stevie May.
They looked to prevent Brentford playing out from defence and were helped by a playing surface that was poor to start with and quickly got worse.
Wednesday had the first sight of goal when Lee burst forward but his shot was weak after he exchanged passes with Lewis Buxton.
Lewis McGugan blasted a free kick well over soon after and David Button saved from May after the striker had got on to a reverse pass.
Brentford soon got in to their stride and, although they were at times more direct, when they were able to play short passes in Wednesday territory they created chances.
Stuart Dallas saw a shot saved after cutting inside and also fired over the bar before Andre Gray got on to a Jonathan Douglas pass and away from Kamil Zayatte, he fired the bouncing ball towards goal but Kieren Westwood got a touch on it to turn it wide.
Dallas and Toumani Diagouraga had shots blocked before Gray had another great opportunity.
Jota played the ball on and Gray raced away from Tom Lees, he drew Westwood and tried to slip it under him but the goalkeeper saved superbly and there was surprise from all four sides of the ground when referee Mark Brown decided it was a goal kick.
McGugan and Filipe Melo both shot wide from distance for Wednesday and Caolan Lavery missed the target with a volley.
The home side were proving effective when given the chance to break but were unable to create any really good chances and Brentford were starting to turn the screw.
Jota was at the heart of most of it and he saw a shot deflected in to the arms of Westwood after weaving his way through.
The Bees should have been ahead just before the break when, after a melee in midfield, Gray back heeled the ball in to the path of Judge, the midfield player only had Westwood to beat but opted for power rather than placement and the shot was tipped on to the crossbar and over.
Jota lifted an effort across the face of goal soon after before Wednesday went close when May turned a Lavery cross wide.
The first half ended level but there were signs it was starting to open up.
And Brentford came out after the break once again taking the game to the hosts.
Harlee Dean headed a Judge corner over early on before Jota had a shot blocked.
Gray went close again after exchanging passes with Diagouraga but his shot flew inches wide.
Lees made a fine headed clearance to prevent Gray nodding in a Judge cross and Jake Bidwell shot wide when well-placed 18 yards out.
Nut Wednesday weathered the storm and as Brentford pushed more men forward to try and win the game, gaps started to appear at the back.
Chris Maguire had a shot blocked after cutting inside and an acrobatic effort from Sergiu Bus went wide.
The hosts struck with 15 minutes remaining, breaking quickly when Jon Toral was robbed in midfield, a cross from Maguire bounced loose and Lee smashed it home from eight yards.
Brentford tried to respond and Westwood made a good low save from a long range Jota shot before a Toral effort deflected wide.
Judge should have levelled with eight minutes remaining when he got on to a Jota pass and, for the second time on the evening, found himself with only Westwood to beat but he blasted the shot over.
That proved to be Brentford’s last chance and the visitors escaped when Dean missed a long ball and Bus got in behind but he shot over the bar.
It proved not to matter for Wednesday, who took the points.
Sheffield Wednesday: Westwood; Buxton, Lees, Zayatte, Helan; Lee, Melo; Lavery, McGugan (sub Maghoma 73 mins), Isgrove (sub Maguire 59 mins); May (sub Bus 59 mins)
Subs (not used): Kirkland, Nuhiu, Vermijl, Kelhar
Bookings: Maguire (90 mins)
Brentford: Button; Odubajo, Dean, Tarkowski, Bidwell (sub Smith 81 mins); Douglas, Diagouraga (sub McCormack 81 mins); Jota, Judge, Dallas (sub Toral 65 mins); Gray
Subs (not used): Bonham, Craig, O’Connell, Udumaga
Bookings: Douglas (90 mins) (ninth of season)
By Chris Wickham