Problem with two texutres with alpha and shader transparency

I have problem with shader transparency and transparent textures using blender render.

Rendered image should look like on the image below (white background is transparent but here is jpg file without transparency :wink: ) but when i assign textures with transparency to the shader in blender, then one texture layer is cutted by the other. I dont know what is wrong…

Here you can se two layers i’m using and final render that looks different than image above.

Here is blend file with textures: