Adebayo Akinfenwa bagged a goal in each half, the second coming from the penalty spot, to move to 12 for the season.
Chris Hackett added a third goal before Joel Grant reduced the arrears from the penalty spot for a Wanderers team that held their own for long periods.
Ainsworth said: "We created a lot of chances and we simply haven't taken them. We hit the post twice from less than six yards both times and Charles Dunne went one-on-one with the keeper at the end, we've got to start putting those away.
"We have created quite a few chances in this game and it is getting difficult to keep talking about the chances we're creating in games without taking them."
He added: "Maybe we commit too many men forward when we attack and because of that we might need a change in formation or a change in personnel because we're starting to drift from the teams above us."