Dundee made two changes to the team last week, Paul McMullan and Zak Rudden retained their places with Ben Williamson injured and Niall McGinn on the bench. Fin Robertson and Ian Lawlor were also injured.
Dundee started well and played some good football. In 13 minutes they took the lead with a well worked goal. After intercepting a clearance Jordan Marshall exchanged passes with Zak Rudden and raced into space down the left. His low cross was steered on the volley across goal and inside the far post by Josh Mulligan.
Rovers hit back and it took a superb save from Harry Sharp to deny Sam Stanton, just before half time Dundee lost Jakubiak and Luke McCowan replaced him. The substitute sent over a promising cross following a short free kick but Ryan Sweeney headed over.
Second half and twice Raith had penalty appeals turned by the referee, on the hour Shaun Byrne had to go off injured he was replaced by Paul McGowan. Minutes later Dundee came close Mulligan cut inside and his shot was well saved by the keeper, the ball fell to Zak Rudden who hit the post.
More changes for Dundee with Robinson and Ashcroft replacing Rudden and Anderson, both teams had chances towards the end.
Dundee held on for the three points and sets up Friday night's game at Dens against Arbroath,
Dundee: Sharp, Kerr, Sweeney (c), French, Marshall, Byrne (McGowan 56), Anderson (Ashcroft 82) Mulligan, McMullan, Jakubiak (McCowan 37), Rudden (Robinson 82). Unused Subs: Legzdins (gk), McGinn, Cameron, Strachan, Fisher.
Referee: Chris Graham
Att: 3,222