Chris O'Grady lifted the pressure on Dave Jones as Sheffield Wednesday secured a 1-0 Championship win over Barnsley at Oakwell.