Danny Mayor's injury-time goal secured Bury victory at AFC Wimbledon to extend their unbeaten run to five games.
Dons striker Danny Hylton had a chance to open the scoring in the first minute, but his header was well saved by Bury goalkeeper Brian Jensen.
Hylton wasted another opening by failing to beat Jensen when sent clear, while Bury sub Jean-Louis Akpa-Akpro hit the bar after lobbing Ross Worner.
Mayor pounced at the death as the Shakers eased their relegation fears.
Bury moved up to 20th in the table, seven points clear of the drop zone, while the home side's defeat was their fourth in a row.
AFC Wimbledon boss Neal Ardley told BBC London 94.9:
"I'm devastated, and feel the same way as the fans do.
"I know it's a results-based industry so I cant take any consolation from us being the better team for large parts of the game.
"It becomes not unlucky that you lose games and it's individuals, not tactics, which has cost us again, stupid errors.
"Confidence is low and we have to find a way of winning a game and scoring a goal."
AFC Wimbledon 01 Worner 02 Fuller 15 Fenlon (Pell - 45' ) 27 Morris 06 Bennett 28 Jones 08 Moore Booked 35 Collins Booked 26 Wyke (Midson - 72' ) 09 Hylton Booked 07 Francomb (Sainte-Luce - 64' ) Substitutes 10 Midson 11 Moore 12 Pell 16 Sainte-Luce 18 Sheringham 19 Arthur 22 Brown Bury 21 Jensen 24 Carroll 03 McNulty 07 Jones 34 Mills 29 Veseli Booked 15 Mayor 08 Miller 18 Nardiello (Akpa-Akpro - 63' ) 09 Forrester (Platt - 55' Booked ) 16 Tutte Booked (Sedgwick - 74' ) Substitutes 04 Hinds 06 Proctor 12 Sedgwick 17 Akpa-Akpro 22 Platt 30 Charles-Cook 36 Nasseri
Ref: Keith Hill