Yeovil Town dominated the first half but had nothing to show for their numerous chances.
The U's made them pay four minutes into the second period, with Kurtis Guthrie heading home after Denny Johnstone's effort came back off the woodwork.
There was late agony though, as home subs Zoko and Campbell scored in the final six minutes to take the points.
The hosts started the strongest, with Sam Walker having to make a save in the first minute, although it was a comfortable one from Khan.
On five minutes, Walker then watched a free kick from Dolan go safely wide, before Eaves wasted a chance with a slack touch after Kane Vincent-Young was dispossessed out on the right.
Dolan hit another free-kick wide on the quarter hour mark but Khan really should have opened the scoring for Yeovil three minutes later.
Tom Eastman slipped to allow Eaves in and the Yeovil forward cut the ball back to Khan, but Walker saved the shot low to his right.
An even better chance fell to Eaves on twenty seven minutes - Hedges and Shephard combined well on the right, the latter drilled a cross across the area but Eaves could only shoot over with Walker beaten.
Hedges and Shephard combined again three minutes later, but this time Shephard’s cross evaded Eaves at the far post.
The first U’s effort came on thirty five minutes, when Denny Johnstone hooked a shot wide after Kurtis Guthrie had chested down a Vincent-Young cross.
That was a rare attack for Yeovil to defend though and Hedges was next to spurn a good chance.
He latched onto a through ball but as he tried to round Walker, the U’s keeper pushed the ball away and the chance had gone.
The whistle went for the end of the half a few minutes later, and the U’s were relieved to go in on level terms.
The home side were punished for their missed chances early in the second period, as Kurtis Guthrie headed home.
Dickenson had a cross deflected high into the box, the home keeper dropped it under pressure from Guthrie, who rolled the ball back to Johnstone.
Johnstone’s shot was deflected onto the crossbar, allowing Guthrie to head home from six yards out.
The U’s duo caused problems for the home defence less than a minute later, but Johnstone’s shot went inches wide after being found by Guthrie.
With their tails up, the U’s broke again on fifty five minutes with Guthrie finding Wright but the angled shot flew inches wide of the target.
The first sight the hosts had of goal came in the seventy second minute, but the free kick was hit straight at the U’s wall.
Walker, who was having a much quieter second half, had to save with his legs after failing to hold a wide free kick a minute later.
The U’s were giving away free kicks too much at this stage and one of them resulted in Walker having to make a save from Lacey.
Another saw Yeovil skipper head over the bar when well placed, and it was obvious from his reaction that he felt he should have done better.
That came on eighty minutes, in a period when Yeovil were pushing hard for an equaliser.
It came on eighty four minutes, but not before Walker had made a superb save, pushing a shot wide for a croner.
The initial ball in was cleared to the edge, a clever header put Francois Zoko in and from an acute angle, his drive was pushed high into the net by Walker at the post to level the scores.
The home side didn’t accept a share of things and got themselves a late winner when fellow sub Tahvon Campbell netted.
A speculative shot deflected to him just inside the box and after then his effort was deflected as well, wrong footing Walker and rolling into the net.
It was a cruel blow for the U’s, ahead of another long trip on Tuesday, to take on Cheltenham Town.