Goals in the first-half from Jeff King and Jake Hyde did the damage.
Kairo Mitchell bagged his first goal in a Blues shirt with 20 minutes remaining but the visitors held on.
Defeat leaves Chesterfield in the final play-off spot in seventh with nine games to go.
Town face another play-off rival in Wrexham at the Racecourse Ground on Saturday.
Here are Liam Norcliffe’s player ratings from the game...

13. Joel Taylor 7
Gave Chesterfield some much-needed fresh legs and pace down the left. He ran at defenders and delivered some decent crosses. I would expect him to start on Saturday against Wrexham. Photo: jason chadwick

14. Jack Clarke N/A
Came on for Mandeville with 10 minutes remaining. Photo: Rachel Atkins
4 / 4

