Euticals has been fined £100,000 for failing to take safety measures on site, despite frequent inspections from the Health and Safety Executive (HSE).
Euticals (formerly Archimica) manufactures and distributes speciality chemical products in Sandycroft, Deeside.
Mold Crown Court heard that after repeated visits between March 2008 and October 2010, the company failed to take precautions to reduce the risks from dangerous substances in case of fires or explosions.
Speaking after the hearing HSE inspector Mark Burton said: "Archimica had plenty of opportunity to comply with the Improvement Notices after repeated visits from HSE and they still chose not to. They deal with dangerous chemicals every day and have a legal responsibility to make sure that how they do that is safe."
Euticals pleaded guilty under Section 33 of the Health and Safety at Work Act 1974 and was ordered to pay £8,344 in costs as well as a fine.
Burton added: "Responsibility extends not only to their employees but to the site's neighbours and any visitors, as well as the environment."