Witnesses said Wijesinghe fainted after hearing the order.
Court found him guilty of contempt in implementing a price formula for liquified petroleum gas where he was accused of misleading the cabinet of ministers and court.
Sentencing is to be on September 24.
Wijesinghe has mislead the Cabinet of ministers.
Wijesinghe is himself a legal professional.
Sri Lanka's Shell Gas was earlier allowed to increase its price according to a price formula approved by the Supreme Court. Laugfs Gas, another supplier, had to go to court again to seek a price increase for its products.