The coaster hit a branch shortly before 6 p.m., derailing one of the cars. The four people up front had minor injuries, according to an L.A. County Fire inspector.
The park said two people were transported to a local hospital for precautionary measures.
Ninja will remain closed until a full inspection is complete, the park said.
See photos of the accident.