Dagenham and Redbridge were undone by League Two's leading scorer as Adam Le Fondre's 61st minute strike proved to be the difference as Rotherham left the LBBD Stadium with all three points.
The Daggers had come into this game full of confidence losing only once in their last six league outings. Peter Gain's suspension meant that one change was forced on John Still and he called on Graeme Montgomery to fill the void on the left side of midfield
Still's side started the game barely able to get out of their own half. The visitors dominated both territory and possession but Rotherham well kept at bay largely due to Mark Arber marshalling his defence effectively.
The home side gradually worked their way into the game and a fine pass from Damien McCrory found Josh Scott. Scott's brought the ball down and tried to get a strike towards goal but the ever narrowing angle made the shot more difficult for the former Hayes and Yeading man.
That was the best the Daggers put together early on but they did start to pepper Rotherham's penalty area with a number of crosses. One cross in particular from Danny Green found Scott whose flicked header bounced wide of Andy Warrington's goal.
For all their possession, the Millers hardly tested Tony Roberts. In fact the Daggers keeper's first save was from a Kevin Ellison overhead kick, although the Rotherham midfielder was flagged offside.
Roberts had to tip wide an effort from Josh Walker while he also watched Le Fondre strike a shot from the edge of the area well over the bar.
McCrory probably came as close as anyone to opening the scoring. He curled a very good free-kick over the Rotherham wall, but narrowly past the post.
Montgomery had the Daggers next attempt, albeit rather a fortuitous once. He over hit his intended cross, but so much so that it forced Warrington to tip the ball over his own bar.
That was Montgomery's last contribution as he was replaced by Darren Currie, although before Currie had got a touch the Daggers found themselves behind.
It was a rather scruffy goal. Marcus Marshall did well to keep the ball in play and roll it across the Daggers penalty area. Nick Fenton was first onto it; he scuffed his shot horribly but the ball made its way to Craig McAllister inside the Daggers six yard box. Roberts made a brilliant point blank stop but the luck wasn't with the keeper as the ball bobbled to Le Fondre who duly applied the simplest of finishes.
Stung by the goal the Daggers tried to respond. McCrory crossed for Paul Benson who saw his header float onto the roof of the net.
The Daggers pushed forward in search of an equaliser. Green who was starting to have some joy on the right sent over a cross that was headed over by Phil Walsh. Walsh moments before had only just come on for Marlon Pack.Both Green and Walsh seemed to be the most likely players to force a Dagenham equaliser. The same two combined with Green crossing low, but the ball got stuck under Walsh's feet preventing him from getting a strike on goal.
But as much as the Daggers pressed, they were unable to breach the Rotherham defence who reversed their recent run of indifferent form to secure an important victory.