The ministry calculated that factory output increased by 0.2 percent in October compared with a month earlier, corrected for seasonal factors.
In September output had contracted by 1.1 percent.
Manufacturing output was up by 0.7 percent month-on-month and construction output also increased by 0.7 percent, while energy output declined by 5.9 percent, the ministry said.