The Rams' 3-1 victory at the DW Stadium a month ago spelled the end for manager Owen Coyle but his successor Uwe Rosler had a lot more success as Jean Beausejour's 69th-minute goal earned the visitors a 1-0 victory.
Derby had climbed into the automatic promotion places after a run of eight wins from nine matches but they slipped to fourth as Leicester, Burnley and QPR all won.
Leicester are now four points clear at the top of the table thanks to their 3-1 victory over managerless Millwall.
Burnley are back up to second after they held on to beat Huddersfield 3-2.
Danny Ings (six) opened the scoring and then put Burnley back ahead in the 41st minute after former Claret Martin Paterson (20) had levelled.
Kieran Trippier extended Burnley's lead in the 79th minute and that proved decisive despite Paterson (89) scoring his second.
QPR's struggle for goals looked set to cost them again as Theo Robinson gave Doncaster the lead in the 43rd minute.
But Matt Phillips levelled 10 minutes after half-time and Charlie Austin struck in injury time to earn Rangers a 2-1 victory.
Nottingham Forest and Reading, two teams hoping to be in the promotion mix, had to settle for a point each in a 1-1 draw.
Makeshift striker Greg Halford scored his third goal in as many matches to put Forest ahead in the 36th minute but Stephen Kelly headed the equaliser with the last play of the match.
Bottom side Barnsley fought back well to earn a point at Birmingham, Jacob Mellis (61) cancelling out Nikola Zigic's 10th-minute opener.
Barnsley are level on points with Yeovil, whose match against Watford was postponed because of a waterlogged pitch.
Sheffield Wednesday climbed out of the bottom three with a 2-0 victory over Blackpool, who have picked up just one point from their seven games since beating the Owls at the end of November.
Connor Wickham (51) and Chris Maguire (60) netted the goals.
Blackburn moved to within four points of the top six with a 2-1 victory over Leeds at Elland Road.
Jordan Rhodes scored his 16th goal of the season in the 13th minute and Rudy Gestede (36) added a second before Matt Smith (53) pulled one back.
Bolton fought back from two down to draw 2-2 with Middlesbrough, David Ngog scoring the equaliser in injury time.
Mustapha Carayol and Curtis Main had put the visitors two up inside 20 minutes before Alex Baptiste (29) pulled one back.
Seventh-placed Brighton also left it late to draw 1-1 with Bournemouth, Stephen Ward cancelling out Lewis Grabban's penalty (14) in the 89th minute.
It was the same score between Charlton and Ipswich, who paid for David McGoldrick's missed penalty.
A Richard Wood own goal (24) put hosts Ipswich ahead but McGoldrick saw his spot-kick saved by Ben Alnwick in the 79th minute and Johnnie Jackson struck in injury time.